{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<script language="javascript" type="text/javascript" src="{lib file=jquery.plugins/jquery.validate.js}"></script>
<style>
label.error {margin-left:2em; color:#FF0000;}
.tab-frame{width:700px;}
input {
	vertical-align: -5px;_vertical-align: -1px;margin-right: 5px
}
</style>
<script type="text/javascript">
function select_tips(){
	var sample_id=$('#sample_id').val();
	var order_id=$('#order_id').val();
	if(sample_id==0 && order_id==0){
		alert("请选择样板/订单号");
		return false;
	}
}
</script>
<body>
<div class="sub-body">
<div class="tab-frame">
<div class="tab-title-1">
<span>色卡推荐</span>
</div>
<form action="" method="post" id="recomm_form">
<table width="100%" cellspacing="0" cellpadding="0" class="tab-display">
	<tr>
		<th width="100" align="right">样板号：</th>
		<td align="left">
			<select id="sample_id" name="sample_id" style="width:150px;">
				<option value="0">{$lang.select_pls}</option>
				<!-- {foreach from=$sample_list item=samples} -->
				<option value="{$samples.sample_id}">{$samples.sample_sn}</option>
				<!-- {/foreach} -->
			</select>
		</td>
	</tr>
	<tr>
		<th align="right">订单号：</th>
		<td align="left">
			<select id="order_id" name="order_id" style="width:150px;">
				<option value="0">{$lang.select_pls}</option>
				<!-- {foreach from=$order_list item=orders} -->
				<option value="{$orders.order_id}">{$orders.order_sn}</option>
				<!-- {/foreach} -->
			</select>
		 </td>
	</tr>
</table>
<div style="text-align:center;padding-top: 10px">
	<input type="submit" value="推荐" class="btn-2" onclick="return select_tips()" />&nbsp;&nbsp;<input type="button" class="btn-2" value="返回" onClick="history.back();" />
</div>
</form>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div>
</div>
</body>
</html>